/**
 *
 */
package com.zhuoyue.zhtj.service;

import java.util.List;

import com.zhuoyue.zhtj.entity.Kqjl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eit.eitsite.common.persistence.Page;
import com.eit.eitsite.common.service.CrudService;
import com.zhuoyue.zhtj.entity.Kkcdtj;
import com.zhuoyue.zhtj.dao.KkcdtjDao;

/**
 * 旷课迟到信息Service
 * @author hss
 * @version 2017-09-27
 */
@Service
@Transactional(readOnly = true)
public class KkcdtjService extends CrudService<KkcdtjDao, Kkcdtj> {
	@Autowired
	private KkcdtjDao kkcdtjDao;

	public Kkcdtj get(String id) {
		return super.get(id);
	}
	
	public List<Kkcdtj> findList(Kkcdtj kkcdtj) {
		return super.findList(kkcdtj);
	}
	
	public Page<Kkcdtj> findPage(Page<Kkcdtj> page, Kkcdtj kkcdtj) {
		return super.findPage(page, kkcdtj);
	}
	
	@Transactional(readOnly = false)
	public void save(Kkcdtj kkcdtj) {
		super.save(kkcdtj);
	}
	
	@Transactional(readOnly = false)
	public void delete(Kkcdtj kkcdtj) {
		super.delete(kkcdtj);
	}

	public List<Kkcdtj> findKKList(Kqjl kqjl){
		return kkcdtjDao.findKKList(kqjl);
	}

	public List<Kkcdtj> findCDList(Kqjl kqjl){
		return kkcdtjDao.findCDList(kqjl);
	}
}